﻿using System.ComponentModel.DataAnnotations;

namespace RabitPart.ReadApi.Application.RBACrelationship.Relroleperm
{
    public class GetTreeRolePermCommanResponstity
    {
        /// <summary>
        /// 权限编号
        /// </summary> 
        public int pId { get; set; }
        /// <summary>
        /// 权限名称
        /// </summary>
        public string? pName { get; set; }

        /// <summary>
        /// 上级编号
        /// </summary>
        public int? psuperior { get; set; }
        /// <summary>
        /// 权限URL
        /// </summary>
        public string? prouterpath { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        public string? proutername { get; set; }
        /// <summary>
        /// 权限描述
        /// </summary>
        public string? proutercomponent { get; set; }

        public IList<GetTreeRolePermCommanResponstity> Children { get; set; } = new List<GetTreeRolePermCommanResponstity>();

    }


    

}
